using System;
using CodeStory.Core.UI;

namespace CodeStory.WebApplication
{
	public partial class Default : LayoutPage
	{
		protected void Page_Load(object sender, EventArgs e) {
		}

		protected override void OnInit(EventArgs e) {
			base.OnInit(e);
		}

		protected override void AfterCheckPermission(bool result) {
			//base.AfterCheckPermission(result);
			if (!result) {
				Navigate(typeof(CodeStory.WebApplication.Modules.Core.Login));
			}
		}
	}
}